//封装的axios
import axios from '@/utils/myaxios'

// 实现文件上传
export const uploadFile = function (data) {
  return axios({
    method: 'post',
    url: '/upload',
    data
  })
}